﻿<UserControl x:Class="SsTool.Controls.Workflow.ActivityPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Background="{x:Null}">
    <Grid Background="{x:Null}">
        <Button Name="_ctlContent" Margin="20" Click="Button_Click" MouseDoubleClick="_ctlContent_MouseDoubleClick" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="auto"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <TextBlock Text="{Binding Caption}" TextAlignment="Center"/>
            </Grid>
        </Button>
            
    </Grid>
</UserControl>
